package homework;

class Employee {
    private String name;
    private int birthdayMonth;

    public Employee(String name, int birthdayMonth) {
        this.name = name;
        this.birthdayMonth = birthdayMonth;
    }

    public String getName() {
        return name;
    }

    public int getBirthdayMonth() {
        return birthdayMonth;
    }

    public double getSalary(int month) {
        if (birthdayMonth == month) {
            return 100;
        } else {
            return 0;
        }
    }
}
